package com.xj.api.bussiness.reference.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.xj.api.bussiness.reference.service.YzUserMachinReferenceService;
import com.xj.common.bussiness.reference.entity.TbUserInfoDeviceReferenceDto;
import com.xj.common.bussiness.reference.entity.YzUserMachinReference;
import com.xj.common.bussiness.reference.entity.YzUserMachinReferenceDto;
import com.xj.common.bussiness.reference.mapper.YzUserMachinReferenceMapper;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Mars
 * @since 2017-08-24
 */
@Service
public class YzUserMachinReferenceServiceImpl extends ServiceImpl<YzUserMachinReferenceMapper, YzUserMachinReference> implements YzUserMachinReferenceService {
	@Autowired
	private YzUserMachinReferenceMapper  yzUserMachinReferenceMapper;
	@Override
	public List<YzUserMachinReferenceDto> findReferenceByIdCardNum(
			String idCardNum) {
		return yzUserMachinReferenceMapper.findReferenceByIdCardNum(idCardNum);
	}
	@Override
	public List<TbUserInfoDeviceReferenceDto> findReferenceByIdCardNumV2(
			String identification) {
		return yzUserMachinReferenceMapper.findReferenceByIdCardNumV2(identification);
	}
	
}
